const axios = require('axios').default
axios
  .get('https://yesno.wtf/api')
  .then(function (response) {
    console.log(response)
  })
  .catch(function (error) {
    console.log(error)
  })

axiosdfa
  .get('http:localhost:4399/product/all')
  .then(function (res) {
    console.log(res)
  })
  .catch(function (err) {
    if (err) {
      console.log(err)
    }
  })
